﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
///  行业板块
/// </summary>
public class HangYeBK
{
    /// <summary>
    /// 名称
    /// </summary>
    public string N
    {
        get;
        set;
    }

    /// <summary>
    /// 代码
    /// </summary>
    public string C
    {
        get;
        set;
    }

    /// <summary>
    /// 涨幅
    /// </summary>
    public decimal? F
    {
        get;
        set;
    }

    /// <summary>
    /// 5日涨幅
    /// </summary>
    public decimal? F5
    {
        get;
        set;
    }

    /// <summary>
    /// 换手
    /// </summary>
    public long? I
    {
        get;
        set;
    }

    /// <summary>
    /// 主力净买
    /// </summary>
    public long? J
    {
        get;
        set;
    }

    /// <summary>
    /// 主力5日净买
    /// </summary>
    public long? J5
    {
        get;
        set;
    }

    /// <summary>
    /// 处于B点区域或者S点区域
    /// </summary>
    public int? BC
    {
        get;
        set;
    }

    /// <summary>
    /// 处于BS区域的天数
    /// </summary>
    public int? NC
    {
        get;
        set;
    }

    /// <summary>
    /// B点股票个数
    /// </summary>
    public int BCount
    {
        get;
        set;
    }

    /// <summary>
    /// S点股票个数
    /// </summary>
    public int SCount
    {
        get;
        set;
    }

    /// <summary>
    /// 股票总数
    /// </summary>
    public int Count
    {
        get;
        set;
    }

    /// <summary>
    /// 上涨个数
    /// </summary>
    public int UpCount
    {
        get;
        set;
    }

    /// <summary>
    /// 下跌个数
    /// </summary>
    public int DownCount
    {
        get;
        set;
    }

    public HangYeBK_Other Other
    {
        get;
        set;
    }
}

public class HangYeBK_Other
{
    /// <summary>
    /// 相关股票
    /// </summary>
    public List<HyStock> Stocks
    {
        get;
        set;
    }

    /// <summary>
    /// 行业状况
    /// </summary>
    public string Hyzk
    {
        get;
        set;
    }

    /// <summary>
    /// 投资要点
    /// </summary>
    public string Tzyd
    {
        get;
        set;
    }

    /// <summary>
    /// 行业新闻
    /// </summary>
    public string Hyxw
    {
        get;
        set;
    }
}

public class HyStock
{
    public string StockName
    {
        get;
        set;
    }

    public string Code
    {
        get;
        set;
    }
}